<!--登录部分start-->
<div class="form-bg" ng-show="loginPage">
    <div class="container">
        <div class="col-md-offset-3 col-md-6">
            <form class="form-horizontal" style="border: 1px solid #eaeaea">
                <span class="heading">淘家政登录</span>
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="用户名/手机/邮箱" ng-model="loginUsername">
                    <i class="fa fa-user"></i>
                </div>
                <div class="form-group" ng-show="!showLpsd">
                    <input type="password" class="form-control" placeholder="密码" ng-model="loginPassword">
                    <i class="fa fa-lock"></i>
                    <a class="fa fa-eye" ng-click="toggleLpsd()"></a>
                </div>
                <div class="form-group" ng-show="showLpsd">
                    <input type="text" class="form-control" placeholder="密码" ng-model="loginPassword">
                    <i class="fa fa-lock"></i>
                    <a class="fa fa-eye-slash" ng-click="toggleLpsd()"></a>
                </div>
                <div class="form-group">
                    <div class="main-checkbox">
                        <input type="checkbox" value="None" id="checkbox1" name="check">
                        <label for="checkbox1"></label>
                    </div>
                    <span class="text">记住我</span>
                    <button type="button" class="btn btn-default" ng-click="login()">立即登录</button>
                </div>
                <div class="form-group">
                    <span class="font-gray">没有账户？</span><a class="font-orange" ng-click="toggleLogin()">创建一个新账户</a>
                </div>
            </form>
        </div>
    </div>
</div>
<!--登录部分end-->

<!--注册部分start-->
<div class="form-bg" ng-show="!loginPage">
    <div class="container">
        <div class="col-md-offset-3 col-md-6">
            <form class="form-horizontal" style="border: 1px solid #eaeaea">
                <span class="heading">淘家政注册</span>
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="请输入用户名" ng-model="registerUsername">
                    <i class="fa fa-user"></i>
                </div>
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="请输入手机号" ng-model="phone">
                    <i class="fa fa-mobile" style="left: 62px;font-size: 20px"></i>
                </div>
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="请输入邮箱" ng-model="email">
                    <i class="fa fa-envelope font16" style="left: 58px"></i>
                </div>
                <div class="form-group" ng-show="!showRpsd">
                    <input type="password" class="form-control" placeholder="创建密码" ng-model="registerPassword">
                    <i class="fa fa-lock"></i>
                    <a class="fa fa-eye" ng-click="toggleRpsd()"></a>
                </div>
                <div class="form-group" ng-show="showRpsd">
                    <input type="text" class="form-control" placeholder="创建密码" ng-model="registerPassword">
                    <i class="fa fa-lock"></i>
                    <a class="fa fa-eye-slash" ng-click="toggleRpsd()"></a>
                </div>
                <div class="form-group">
                    <div class="main-checkbox">
                        <input type="checkbox" value="None" id="checkbox2" name="check" checked>
                        <label for="checkbox2"></label>
                    </div>
                    <span class="text">我已阅读并同意 《淘家政用户注册协议》</span>
                    <button type="button" class="btn btn-default" ng-click="register()">立即注册</button>
                </div>
                <div class="form-group">
                    <span class="font-gray">已有淘家政账户？</span><a class="font-orange" ng-click="toggleLogin()">立即登录</a>
                </div>
            </form>
        </div>
    </div>
</div>
<!--注册部分end-->